#include "bx.h"
namespace BookStore {
	double Sales_item::avg_price()const {
		return units_sold ? revenue / units_sold : 0;
	}
}